<template>
  <h1>你好，世界</h1>
  <a-button @click="toPage('/CVC')">CVC</a-button>
</template>

<script setup>
// 导入依赖
// 导入 useRouter 依赖
  import { useRouter } from 'vue-router';
  const router=useRouter();
  const toPage=(path)=>{
    router.push(path)
  }
</script>

<style scoped>

</style>